package com.dhf.xhb.domain;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

import javax.persistence.Entity;

/**
 * 商品链接
 * 
 * @author DHF
 *
 */
@Entity
public class Goods implements Serializable {
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	private String goodsId;
	private String goodsName;// 商品名
	private String goodsPic;// 商品图片链接
	private String goodsType;// 商品类别
	private String goodsBuyUrl;// 购买链接
	private BigDecimal goodsPrice;
	private int goodsSales;// 商品销量
	private BigDecimal goodsIncomeRatio;// 佣金比率
	private BigDecimal goodsIncome;// 商品佣金
	private int goodsCouponTotal;// 优惠卷总数
	private int goodsCouponRemain;// 优惠卷剩余
	private String goodsCouponPrice;// 优惠卷面额
	private Date goodsStartTime;// 优惠卷开始时间
	private Date goodsEndTime;// 结束时间
	private String goodsCouponUrl;// 优惠卷链接
	private String goodsBuyCouponUrl;// 含有优惠卷的购买链接

	public String getGoodsId() {
		return this.goodsId;
	}
	public void setGoodsId(String goodsId) {
		this.goodsId = goodsId;
	}
	public String getGoodsName() {
		return this.goodsName;
	}
	public void setGoodsName(String goodsName) {
		this.goodsName = goodsName;
	}
	public String getGoodsPic() {
		return this.goodsPic;
	}
	public void setGoodsPic(String goodsPic) {
		this.goodsPic = goodsPic;
	}
	public String getGoodsType() {
		return this.goodsType;
	}
	public void setGoodsType(String goodsType) {
		this.goodsType = goodsType;
	}
	public int getGoodsSales() {
		return this.goodsSales;
	}
	public void setGoodsSales(int goodsSales) {
		this.goodsSales = goodsSales;
	}
	public String getGoodsBuyUrl() {
		return this.goodsBuyUrl;
	}
	public void setGoodsBuyUrl(String goodsBuyUrl) {
		this.goodsBuyUrl = goodsBuyUrl;
	}
	public int getGoodsCouponTotal() {
		return this.goodsCouponTotal;
	}
	public void setGoodsCouponTotal(int goodsCouponTotal) {
		this.goodsCouponTotal = goodsCouponTotal;
	}
	public int getGoodsCouponRemain() {
		return this.goodsCouponRemain;
	}
	public void setGoodsCouponRemain(int goodsCouponRemain) {
		this.goodsCouponRemain = goodsCouponRemain;
	}
	public String getGoodsCouponPrice() {
		return this.goodsCouponPrice;
	}
	public void setGoodsCouponPrice(String goodsCouponPrice) {
		this.goodsCouponPrice = goodsCouponPrice;
	}
	public Date getGoodsStartTime() {
		return this.goodsStartTime;
	}
	public void setGoodsStartTime(Date goodsStartTime) {
		this.goodsStartTime = goodsStartTime;
	}
	public Date getGoodsEndTime() {
		return this.goodsEndTime;
	}
	public void setGoodsEndTime(Date goodsEndTime) {
		this.goodsEndTime = goodsEndTime;
	}
	public String getGoodsCouponUrl() {
		return this.goodsCouponUrl;
	}
	public void setGoodsCouponUrl(String goodsCouponUrl) {
		this.goodsCouponUrl = goodsCouponUrl;
	}
	public String getGoodsBuyCouponUrl() {
		return this.goodsBuyCouponUrl;
	}
	public void setGoodsBuyCouponUrl(String goodsBuyCouponUrl) {
		this.goodsBuyCouponUrl = goodsBuyCouponUrl;
	}
	@Override
	public String toString() {
		return "Goods [goodsId=" + this.goodsId + ", goodsName=" + this.goodsName + ", goodsPic=" + this.goodsPic
				+ ", goodsType=" + this.goodsType + ", goodsPrice=" + this.goodsPrice + ", goodsSales="
				+ this.goodsSales + ", goodsIncome=" + this.goodsIncome + ", goodsBuyUrl=" + this.goodsBuyUrl
				+ ", goodsCouponTotal=" + this.goodsCouponTotal + ", goodsCouponRemain=" + this.goodsCouponRemain
				+ ", goodsCouponPrice=" + this.goodsCouponPrice + ", goodsStartTime=" + this.goodsStartTime
				+ ", goodsEndTime=" + this.goodsEndTime + ", goodsCouponUrl=" + this.goodsCouponUrl
				+ ", goodsBuyCouponUrl=" + this.goodsBuyCouponUrl + "]";
	}

	public BigDecimal getGoodsIncomeRatio() {
		return this.goodsIncomeRatio;
	}

	public void setGoodsIncomeRatio(BigDecimal goodsIncomeRatio) {
		this.goodsIncomeRatio = goodsIncomeRatio;
	}

	public void setGoodsIncome(BigDecimal goodsIncome) {
		this.goodsIncome = goodsIncome;
	}

	public BigDecimal getGoodsPrice() {
		return this.goodsPrice;
	}
	public void setGoodsPrice(BigDecimal goodsPrice) {
		this.goodsPrice = goodsPrice;
	}

}
